# C.O.R.E. v0.7 transition to CSV completed

#########################################################################
# The USSR offers peace with the Western Allies 
#########################################################################
event = { 
	id = 5151
	random = no
	country = SOV
	
	trigger = {
		OR = {
			AND = {
				war = { country = SOV country = ENG }
				NOT = { alliance = { country = GER country = ENG } }
			}
			AND = {
				war = { country = SOV country = FRA }
				NOT = { alliance = { country = GER country = FRA } }
			}
			AND = {
				war = { country = SOV country = USA }
				NOT = { alliance = { country = GER country = USA } }
			}
		}	
		OR = {
			war = { country = SOV country = GER }
			event = 2628 #Finland accepts Soviet peace proposal
		}
		NOT = {
			war = { country = SOV country = SWE }
			NOT = { alliance = { country = GER country = SWE } }
		}
	}
	
	name = CEVTNAME_5151
	desc = CEVTDESC_5151

	style = 0
	
	date = { day = 1 month = january year = 1936 }
	offset = 10 # Check for trigger conditions every day
	deathdate = { day = 30 month = december year = 1947 }
	
	action_a = {
		name = CEVTACTA_5151
		command = { type = trigger which = 5152 } #ENG
		command = { type = trigger which = 5153 } #FRA
		command = { type = trigger which = 5154 } #USA
	}
	action_b = {
		name = CEVTACTB_5151
		command = { }
	}
}
#########################################################################
#  Soviet Peace offer to England
#########################################################################
event = { 
	id = 5152
	random = no
	country = ENG
	
	# Triggered by SOV5151
	
	name = CEVTNAME_5152
	desc = CEVTDESC_5152

	style = 0

	action_a = {
		name = CEVTACTA_5152
		command = { type = dissent value = -5 }
		command = { type = peace which = SOV value = 0 }
	}
	action_b = {
		name = CEVTACTB_5152
		command = { type = dissent value = 10 }
	}
}
#########################################################################
#  Soviet Peace offer to France
#########################################################################
event = { 
	id = 5153
	random = no
	country = FRA
	
	# Triggered by SOV5151
	
	name = CEVTNAME_5153
	desc = CEVTDESC_5153

	style = 0

	action_a = {
		name = CEVTACTA_5152
		command = { type = dissent value = -10 }
		command = { type = peace which = SOV value = 0 }
	}
	action_b = {
		name = CEVTACTB_5152
		command = { type = dissent value = 20 }
	}
}
#########################################################################
#  Soviet Peace offer to USA
#########################################################################
event = { 
	id = 5154
	random = no
	country = ENG
	
	# Triggered by SOV5151
	
	name = CEVTNAME_5154
	desc = CEVTDESC_5154

	style = 0

	action_a = {
		name = CEVTACTA_5152
		command = { type = dissent value = -2 }
		command = { type = peace which = SOV value = 0 }
	}
	action_b = {
		name = CEVTACTB_5152
		command = { type = dissent value = 1 }
	}
}